package com.itheima.App;

import com.itheima.Dao.StudentDao;
import com.itheima.Service.StudentService;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class app1 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ca = new ClassPathXmlApplicationContext("application-stu.xml");
        StudentService studentDao = (StudentService) ca.getBean("StudentService");
        System.out.println(studentDao);
    }
}
